package cn.ad.exception;


/**
 * Created by Administrator on 2016/7/28.
 */
public class GdtCreativeValidateException extends RuntimeException {

    private Integer code;

    private String msg;


    public GdtCreativeValidateException() {
    }

    public GdtCreativeValidateException(String message, Throwable cause) {
        super(message, cause);
    }

    public GdtCreativeValidateException(Throwable cause) {
        super(cause);
    }
    public GdtCreativeValidateException(String message) {
        super(message);
    }
    public GdtCreativeValidateException(Integer code, String message) {
        super(message);
        this.code = code;
    }

    public GdtCreativeValidateException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
